Skip to content

[Android] Fix safe area miscalculation on HONOR phones #8084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Reeywhaar
Copy link
Contributor

Somehow bottomButtons layout breaks keyboard safe area on Honor (MagicOs) phone models.

Description:

We have an app with bottomTabs layout.
When we push some modal that has TextInput and focus it, adjustResize doesn't work and important views that are placed on bottom became hidden behind the keyboard. But only on Honor phones 🤷‍♂️

Initial screen:
Screenshot_1754628010

Before fix:
Screenshot_1754628261

After fix:
Screenshot_1754628018

Additional info:

react-native: 0.77.3 (with some patches from here)
react-native-navigation: 7.50.0
softInputMode is adjustResize

Disclaimer

This is more of something to think about, rather that thorough merge request, as I'm not an advanced android developer and this works only for my case, but may break ton of others.
Screenshots are emulator representation of how it looks, not a real device screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant